package com.two.service.permission.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.two.common.entity.Permission;
import com.two.common.entity.User;
import com.two.common.util.CommonResult;

import javax.servlet.http.HttpServletRequest;
import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 汪瑞明
 * @since 2022-08-29
 */
public interface IPermissionService extends IService<Permission> {

    List<Permission> selectPermissionByUserid(Integer userid);

    User selectOne(String username);

    CommonResult getLeftMenu(String token);

    // 修改权限按钮的点击事件
    CommonResult selectPermissionByRoleId(Integer id);
}
